package lab02.test04;

import java.util.Scanner;

public class Test04 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        Employee e=new Employee();
        System.out.println("请输入员工姓名：");
        e.setName(sc.next());
        System.out.println("请输入员工工号：");
        e.setNumber(sc.next());
        System.out.println("请输入员工基本工资：");
        e.setSalary(sc.nextFloat());
        System.out.println("请输入员工工资增长额：");
        e.setIncrease(sc.nextFloat());
        e.salaryIncrease();
        e.allSalary();
    }
}
